<h1> Pregled članka </h1> 

<form method="POST" action="<?=base_url()?>article/article/create" class="clearfix" name="newartform" id="newartform">

    <div class="preview">

        <div class="art_intro">

            <div class="text">

                <h2><?=$uptitle;?></h2>

                <h1><?=$title;?></h1>

                <p><?=$intro;?></p>

            </div>

            <div class="img"> 
                <?
                    $folder = '';
                    if($_type=='img'){
                        $folder='img';
                    }else if($_type=='video'){
                            $folder='videos';
                        }
                ?>
                <img src="<?=base_url();?>assets/mediagallery/<?=$folder?>/<?=$_filepath;?>" />

            </div>

        </div>

        <div class="art_cont">

            <div class="column">

                <?=$text;?>

            </div>

        </div>


    </div>
    
    <div style="clear: both;"></div>
    
    <div class="options clearfix">

        <div class="right">

            <input type="hidden" name="uptitle" value='<?=htmlspecialchars($uptitle);?>' />
            <input type="hidden" name="title" value='<?=htmlspecialchars($title);?>' />
            <input type="hidden" name="intro" value='<?=htmlspecialchars($intro);?>' />
            <input type="hidden" name="text" value='<?=htmlspecialchars($text);?>' />

            <input type="hidden" id="_filepath" name="_filepath" value="<?=htmlspecialchars($_filepath);?>">
            <input type="hidden" id="_type" name="_type" value="<?=htmlspecialchars($_type);?>">

            <a href="javascript:" class="btn" id="form_submit">Kreiraj članak</a>


        </div>

    </div>


</form>   
